home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / cut.1 < prev    next >
Encoding:
Text File  |  1994-07-26  |  3.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CUT(1L)           Misc. Reference Manual Pages            CUT(1L)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cut - remove sections from each line of files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ccccuuuutttt {-b byte-list, --bytes=byte-list} [-n] [--help] [-- ver-
  13.      sion] [file...]
  14.  
  15.      ccccuuuutttt {-c character-list, -- characters=character-list}  [ - -
  16.      help] [--version] [file...]
  17.  
  18.      ccccuuuutttt {-f field-list, --fields=field-list} [-d delim] [-s] [--
  19.      delimiter=delim]  [ - - only-delimited] [--help] [--version]
  20.      [file...]
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      This manual page documents the  GNU  version  of  ccccuuuutttt.   ccccuuuutttt
  24.      prints  sections  of  each  line  of each input file, or the
  25.      standard input if no files are given.  A file  name  of  `-'
  26.      means   standard  input.   Which  sections  are  printed  is
  27.      selected by the options.
  28.  
  29.   OOOOPPPPTTTTIIIIOOOONNNNSSSS
  30.      The _b_y_t_e-_l_i_s_t, _c_h_a_r_a_c_t_e_r-_l_i_s_t, and  _f_i_e_l_d-_l_i_s_t  are  one  or
  31.      more  numbers  or  ranges  (two numbers separated by a dash)
  32.      separated by commas.  The first byte, character,  and  field
  33.      are  numbered 1.  Incomplete ranges may be given: `-m' means
  34.      `1-m'; `n-' means `n' through end of line or last field.
  35.  
  36.      -_b, --_b_y_t_e_s _b_y_t_e-_l_i_s_t
  37.           Print only the bytes in positions listed in  _b_y_t_e-_l_i_s_t.
  38.           Tabs  and backspaces are treated like any other charac-
  39.           ter; they take up 1 byte.
  40.  
  41.      -_c, --_c_h_a_r_a_c_t_e_r_s _c_h_a_r_a_c_t_e_r-_l_i_s_t
  42.           Print  only   characters   in   positions   listed   in
  43.           _c_h_a_r_a_c_t_e_r-_l_i_s_t.   The  same as -b for now, but interna-
  44.           tionalization will change that.   Tabs  and  backspaces
  45.           are  treated  like  any other character; they take up 1
  46.           character.
  47.  
  48.      -_f, --_f_i_e_l_d_s _f_i_e_l_d-_l_i_s_t
  49.           Print only the fields listed in _f_i_e_l_d-_l_i_s_t.  Fields are
  50.           separated by a TAB by default.
  51.  
  52.      -_d, --_d_e_l_i_m_i_t_e_r _d_e_l_i_m
  53.           For -f, fields are separated by the first character  in
  54.           _d_e_l_i_m instead of by TAB.
  55.  
  56.      -_n    Do not split multibyte characters (no-op for now).
  57.  
  58.      -_s, --_o_n_l_y-_d_e_l_i_m_i_t_e_d
  59.           For -f, do not print lines  that  do  not  contain  the
  60.  
  61.  
  62.  
  63. FSF              Last change: GNU Text Utilities                1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CUT(1L)           Misc. Reference Manual Pages            CUT(1L)
  71.  
  72.  
  73.  
  74.           field separator character.
  75.  
  76.      --_h_e_l_p
  77.           Print a usage message and exit with a non-zero status.
  78.  
  79.      --_v_e_r_s_i_o_n
  80.           Print version information on standard output then exit.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. FSF              Last change: GNU Text Utilities                2
  130.  
  131.  
  132.  
  133.